package com.googlecode.yoohoo.xmppcore.protocol.stanza;

public enum PresenceType {
	NONE {
		@Override
		public String toString() {
			return null;
		}
	},
	AVAILABLE {
		@Override
		public String toString() {
			return TYPE_AVAILABLE_STRING;
		}
	},
	UNAVAILABLE {
		@Override
		public String toString() {
			return TYPE_UNAVAILABLE_STRING;
		}
	},
	SUBSCRIBE {
		@Override
		public String toString() {
			return TYPE_SUBSCRIBE_STRING;
		}
	},
	SUBSCRIBED {
		@Override
		public String toString() {
			return TYPE_SUBSCRIBED_STRING;
		}
	},
	UNSUBSCRIBE {
		@Override
		public String toString() {
			return TYPE_UNSUBSCRIBE_STRING;
		}
	},
	UNSUBSCRIBED {
		@Override
		public String toString() {
			return TYPE_UNSUBSCRIBED_STRING;
		}
	};
	
	private static final String TYPE_AVAILABLE_STRING = "available";
	private static final String TYPE_UNAVAILABLE_STRING = "unavailable";
	private static final String TYPE_SUBSCRIBE_STRING = "subscribe";
	private static final String TYPE_SUBSCRIBED_STRING = "subscribed";
	private static final String TYPE_UNSUBSCRIBE_STRING = "unsubscribe";
	private static final String TYPE_UNSUBSCRIBED_STRING = "unsubscribed";
}
